//package gl;
//
//import gl.android.biyiqing.fragment.BaseFragment;
//import android.os.Bundle;
//
//public class FragmentContainerActivity extends BYQBaseActivity {
//
//	public static final String BaseFragmentClassName = "BaseFragmentClassName";
//
//	@SuppressWarnings("unchecked")
//	@Override
//	protected void onCreate(Bundle savedInstanceState) {
//		super.onCreate(savedInstanceState);
//		setContentView(R.layout.activity_container_fragment);
//		Class<BaseFragment> clazz;
//		try {
//			clazz = (Class<BaseFragment>) Class.forName(getIntent().getStringExtra(
//					BaseFragmentClassName));
//			addFragmentToContainer(savedInstanceState,
//					BaseFragment.creatBaseFramgent(getIntent().getExtras(), clazz));
//		} catch (Exception e) {
//			e.printStackTrace();
//		}
//		
//	}
//}
